<?php

namespace app\validate;

use think\Validate;

class User extends Validate
{
    protected $rule =   [
        'username'  => 'require',
        "password" => "require",
    ];

    protected $message  =   [
        'username.require' => '账号必填',
        'password.require' => '密码必填',
    ];
}
